package Level02;

import java.util.ArrayList;
import java.util.Arrays;

public class Two {
    public static ArrayList<String> add(String ... str){
        ArrayList<String> arrayList = new ArrayList<>();
        for (String s : str) {
            arrayList.add(s);
        }
        return arrayList;
    }
    public static void main(String[] args) {
        System.out.println(add("1", "2", "3"));
    }
}
